package com.titanrise.crm.domain.model;

import com.titanrise.crm.environment.annotation.TableColumn;
import com.titanrise.crm.environment.annotation.TableID;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description:
 * @Author: pront
 * @Time:2024-11-06 16:47
 */
@Data
@Builder
@AllArgsConstructor
public class User {

    /**
     * 用户id
     */
    @TableID("id")
    private String id;

    /**
     * 电话号码
     */
    @TableColumn("phone_number")
    private String phoneNumber;

    /**
     * 年收入
     */
    @TableColumn("annual_income")
    private BigDecimal annualIncome;

    /**
     * 从事行业
     */
    @TableColumn("industry")
    private String industry;

    /**
     * 用户描述
     */
    @TableColumn("description")
    private String description;

    /**
     * 国家
     */
    @TableColumn("country")
    private String country;

    /**
     * 省
     */
    @TableColumn("province")
    private String province;

    /**
     * 市
     */
    @TableColumn("city")
    private String city;

    /**
     * 区
     */
    @TableColumn("district")
    private String district;

    /**
     * 邮政编码
     */
    @TableColumn("post_code")
    private String postCode;

    /**
     * 创建时间
     */
    @TableColumn("create_time")
    private LocalDateTime createTime;


}
